/*
 * Copyright (c) 2015 Messcat. All rights reserved.
 */
package cc.messcat.dao.system;

import cc.messcat.common.dao.BaseDao;
import cc.messcat.entity.area.Area;
import cc.messcat.entity.system.McUser;

import java.util.List;
import java.util.Map;

/**
 * @author Microcat
 * @version 1.0
 */
public interface UserDao extends BaseDao<McUser>{

	McUser getUserIgnorePassword(Long id);

	McUser getUserByUsername(String username);

	McUser getCurrentMcUser();
	
//	List<McUser> listByRoleArea(Area area);

	List<McUser> listByUserArea(Area area);

    List<Map<String,Object>> listByIDs(String praise);
}
